]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
search: Expand search results view
authorSebastian Keller <skeller@gnome.org>
Thu, 20 Apr 2023 23:08:23 +0000 (01:08 +0200)
committerSebastian Keller <skeller@gnome.org>
Thu, 20 Apr 2023 23:08:23 +0000 (01:08 +0200)
Otherwise the search results can end up only as large as their content.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5924
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2744>

js/ui/search.js

index 8f96973bfc721c7f1efbe8a1c679ae6d9a4e375b..7d50ef2346d78ac18a7211985174f5654dc34ed2 100644 (file)
@@ -537,7 +537,12 @@ var SearchResultsView = GObject.registerClass({
     Signals: { 'terms-changed': {} },
 }, class SearchResultsView extends St.BoxLayout {
     _init() {
-        super._init({ name: 'searchResults', vertical: true });
+        super._init({
+            name: 'searchResults',
+            vertical: true,
+            x_expand: true,
+            y_expand: true,
+        });
 
         this._parentalControlsManager = ParentalControlsManager.getDefault();
         this._parentalControlsManager.connect('app-filter-changed', this._reloadRemoteProviders.bind(this));